package com.poi.test.domain;

import java.math.BigDecimal;
import java.util.List;

import org.apache.commons.lang3.StringUtils;

public class KshopGoodsBo {
	/**
	 * 
	 */
	private static final long serialVersionUID = 6410539663673589364L;
	/** 主键 */
	private Long id;
	private Long[] ids;

	private String title;
	
	/** 供应商编码 */
	private String supplierCode;
	/** 供应商名称 */
	private String supplierName;
	
	/** 商品编码 */
	private String goodsCode;
	
	/** 商品名称 */
	private String goodsName;
	/** 商品展示名称 **/
	private String goodsShowName;
	
	/** 商品主图 */
	private String goodsImgUrl;
	
	/** 商品主图 */
	private String goodsImgName;
	
	/** 品牌名称 */
	private String brandName;
	
	/** 商品分类id */
	private String categoryCode;

	
	/** 商品分类名称 */
	private String categoryName;
	
	/** 单位/规格 */
	private String saleUnit;

	/** 单位/规格 编码 */
	
	private String saleUnitType;

	
	/** 排序值 */
	private String sno;
	
	/** 产地 */
	private String goodsAddress;
	
	/** 配送范围 */
	private String deliveryArea;
	/** 使用与年龄 */
	private String useAge;
	
	/** 商品状态 */
	private String state;
	
	/** 商品类型 */
	private String goodsType;
	
	/** 商品标签编码 */
	private String label;
	
	/** 商品标签名称 */
	private String labelName;
	
	/** 商品描述 */
	private String introduction;

	/** 商品描述(加样式的) */
	
	private String introductionCkEditor;

	
	/** 商品编号 */
	private Long skuId;

	/** 商品属性组合集合 */
	private List<String> skuList;

	
	/** 状态名称 */
	private String stateName;

	
	/** 商品规格 */
	private Long specsId;
	
	/** 商品规格 */
	private String specsName;
	
	/** 商品材质 */
	private Long materialsId;
	
	/** 商品材质 */
	private String materialsName;
	
	/** 颜色 */
	private Long colorId;
	
	/** 颜色 */
	private String colorName;
	
	/** 尺寸 */
	private Long sizeId;
	
	/** 尺寸 */
	private String sizeName;
	
	/** 市场价格 */
	private BigDecimal marketPrice;
	// 
	/** 成本价格 */
	private BigDecimal costPrice;
	
	/** 数量 */
	private Double num;

	/** 商品价格区间 **/
	
	private String priceRange;

	
	/** 商品幅图 */
	private String goodsSubImgUrl;
	/** 商品幅图 */
	
	private List<String> goodsSubImgUrlList;
	
	/** 商品幅图 */
	private String goodsSubImgName;

	
	/** 商品简介图 */
	private String goodsDisImgUrl;
	/** 商品简介图 */
	
	private List<String> goodsDisImgUrlList;

	
	/** 商品简介图 */
	private String goodsDisImgName;
	
	/** 规格描述图 */
	private String goodsSpecsImgUrl;

	/** 规格描述图 */
	private List<String> goodsSpecsImgUrlList;

	
	/** 规格描述图 */
	private String goodsSpecsImgName;

	/** 库存总量 **/
	
	private Integer repertoryTotal;

	/** 最低价格 **/
	
	private BigDecimal maxPrice;

	/** 最高价格 **/
	
	private BigDecimal minPrice;

	/** 商品的sku表的attrGroup合并至 **/
	
	private String attrGroups;

	/** 界面展示使用 **/
	// 
	private String attrGroupsShowName;
	/** 销量 */
	
	private Integer salesVolumes;
	// 商品信息id
	
	private Long goodInfoId;

	private String orgCode;
	
	private List<KshopGoodsBo> goodsExcelList;
	
	public KshopGoodsBo() {
		super();
	}

	public KshopGoodsBo(Long id) {
		super();
		this.id = id;
	}

	public String getAttrGroupsShowName() {
		return attrGroupsShowName;
	}

	public void setAttrGroupsShowName(String attrGroupsShowName) {
		// 不是教具不显示
		this.attrGroupsShowName = attrGroupsShowName;
	}

	public String getPriceRange() {
		return priceRange;
	}

	public void setPriceRange(String priceRange) {
		this.priceRange = priceRange;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSupplierCode() {
		return supplierCode;
	}

	public void setSupplierCode(String supplierCode) {
		this.supplierCode = supplierCode;
	}

	public String getGoodsCode() {
		return goodsCode;
	}

	public void setGoodsCode(String goodsCode) {
		this.goodsCode = goodsCode;
	}

	public String getGoodsShowName() {
		return goodsShowName;
	}

	public void setGoodsShowName(String goodsShowName) {
		this.goodsShowName = goodsShowName;
	}

	public String getGoodsName() {

		return goodsName;
	}

	public void setGoodsName(String goodsName) {
		this.goodsName = goodsName;
	}

	public String getGoodsImgUrl() {
		return goodsImgUrl;
	}

	public void setGoodsImgUrl(String goodsImgUrl) {
		this.goodsImgUrl = goodsImgUrl;
	}

	public String getBrandName() {
		return brandName;
	}

	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getSaleUnit() {
		return saleUnit;
	}

	public void setSaleUnit(String saleUnit) {
		this.saleUnit = saleUnit;
	}

	public String getSno() {
		return sno;
	}

	public void setSno(String sno) {
		this.sno = sno;
	}

	public String getGoodsAddress() {
		return goodsAddress;
	}

	public void setGoodsAddress(String goodsAddress) {
		this.goodsAddress = goodsAddress;
	}

	public String getDeliveryArea() {
		return deliveryArea;
	}

	public void setDeliveryArea(String deliveryArea) {
		this.deliveryArea = deliveryArea;
	}

	public String getUseAge() {
		return useAge;
	}

	public void setUseAge(String useAge) {
		this.useAge = useAge;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getGoodsType() {
		return goodsType;
	}

	public void setGoodsType(String goodsType) {
		this.goodsType = goodsType;
	}

	public String getLabel() {
		return label;
	}

	public void setLabel(String label) {
		this.label = label;
	}

	public BigDecimal getMarketPrice() {
		return marketPrice;
	}

	public void setMarketPrice(BigDecimal marketPrice) {
		this.marketPrice = marketPrice;
	}

	public BigDecimal getCostPrice() {
		return costPrice;
	}

	public void setCostPrice(BigDecimal costPrice) {
		this.costPrice = costPrice;
	}

	public String getIntroduction() {
		if (StringUtils.isNotBlank(this.getIntroductionCkEditor())) {
			introduction = this.getIntroductionCkEditor();
		}
		return introduction;
	}

	public void setIntroduction(String introduction) {
		this.introduction = introduction;
	}

	public Long getSkuId() {
		return skuId;
	}

	public void setSkuId(Long skuId) {
		this.skuId = skuId;
	}

	public String getSupplierName() {
		return supplierName;
	}

	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}

	public String getStateName() {
		return stateName;
	}

	public void setStateName(String stateName) {
		this.stateName = stateName;
	}

	public Long[] getIds() {
		return ids;
	}

	public void setIds(Long[] ids) {
		this.ids = ids;
	}

	public Long getSpecsId() {
		return specsId;
	}

	public void setSpecsId(Long specsId) {
		this.specsId = specsId;
	}

	public String getSpecsName() {
		return specsName;
	}

	public void setSpecsName(String specsName) {
		this.specsName = specsName;
	}

	public Long getMaterialsId() {
		return materialsId;
	}

	public void setMaterialsId(Long materialsId) {
		this.materialsId = materialsId;
	}

	public String getMaterialsName() {
		return materialsName;
	}

	public void setMaterialsName(String materialsName) {
		this.materialsName = materialsName;
	}

	public Long getColorId() {
		return colorId;
	}

	public void setColorId(Long colorId) {
		this.colorId = colorId;
	}

	public String getColorName() {
		return colorName;
	}

	public void setColorName(String colorName) {
		this.colorName = colorName;
	}

	public Long getSizeId() {
		return sizeId;
	}

	public void setSizeId(Long sizeId) {
		this.sizeId = sizeId;
	}

	public String getSizeName() {
		return sizeName;
	}

	public void setSizeName(String sizeName) {
		this.sizeName = sizeName;
	}

	public Double getNum() {
		return num;
	}

	public void setNum(Double num) {
		this.num = num;
	}

	public String getCategoryCode() {
		return categoryCode;
	}

	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}

	public String getLabelName() {
		return labelName;
	}

	public void setLabelName(String labelName) {
		this.labelName = labelName;
	}

	public String getGoodsSubImgUrl() {
		return goodsSubImgUrl;
	}

	public void setGoodsSubImgUrl(String goodsSubImgUrl) {
		this.goodsSubImgUrl = goodsSubImgUrl;
	}

	public String getGoodsSubImgName() {
		return goodsSubImgName;
	}

	public void setGoodsSubImgName(String goodsSubImgName) {
		this.goodsSubImgName = goodsSubImgName;
	}

	public String getGoodsDisImgUrl() {
		return goodsDisImgUrl;
	}

	public void setGoodsDisImgUrl(String goodsDisImgUrl) {
		this.goodsDisImgUrl = goodsDisImgUrl;
	}

	public String getGoodsDisImgName() {
		return goodsDisImgName;
	}

	public void setGoodsDisImgName(String goodsDisImgName) {
		this.goodsDisImgName = goodsDisImgName;
	}

	public String getGoodsSpecsImgUrl() {
		return goodsSpecsImgUrl;
	}

	public void setGoodsSpecsImgUrl(String goodsSpecsImgUrl) {
		this.goodsSpecsImgUrl = goodsSpecsImgUrl;
	}

	public String getGoodsSpecsImgName() {
		return goodsSpecsImgName;
	}

	public void setGoodsSpecsImgName(String goodsSpecsImgName) {
		this.goodsSpecsImgName = goodsSpecsImgName;
	}

	public String getGoodsImgName() {
		return goodsImgName;
	}

	public void setGoodsImgName(String goodsImgName) {
		this.goodsImgName = goodsImgName;
	}

	public Integer getRepertoryTotal() {
		return repertoryTotal;
	}

	public void setRepertoryTotal(Integer repertoryTotal) {
		this.repertoryTotal = repertoryTotal;
	}

	public BigDecimal getMaxPrice() {
		return maxPrice;
	}

	public void setMaxPrice(BigDecimal maxPrice) {
		this.maxPrice = maxPrice;
	}

	public BigDecimal getMinPrice() {
		return minPrice;
	}

	public void setMinPrice(BigDecimal minPrice) {
		this.minPrice = minPrice;
	}

	public List<String> getSkuList() {
		return skuList;
	}

	public void setSkuList(List<String> skuList) {
		this.skuList = skuList;
	}

	public String getAttrGroups() {
		return attrGroups;
	}

	public void setAttrGroups(String attrGroups) {
		this.attrGroups = attrGroups;
		setAttrGroupsShowName(attrGroups);
	}

	public List<String> getGoodsSubImgUrlList() {
		return goodsSubImgUrlList;
	}

	public void setGoodsSubImgUrlList(List<String> goodsSubImgUrlList) {
		this.goodsSubImgUrlList = goodsSubImgUrlList;
	}

	public List<String> getGoodsDisImgUrlList() {
		return goodsDisImgUrlList;
	}

	public void setGoodsDisImgUrlList(List<String> goodsDisImgUrlList) {
		this.goodsDisImgUrlList = goodsDisImgUrlList;
	}

	public List<String> getGoodsSpecsImgUrlList() {
		return goodsSpecsImgUrlList;
	}

	public void setGoodsSpecsImgUrlList(List<String> goodsSpecsImgUrlList) {
		this.goodsSpecsImgUrlList = goodsSpecsImgUrlList;
	}

	public Integer getSalesVolumes() {
		return salesVolumes;
	}

	public void setSalesVolumes(Integer salesVolumes) {
		this.salesVolumes = salesVolumes;
	}

	public String getIntroductionCkEditor() {
		return introductionCkEditor;
	}

	public void setIntroductionCkEditor(String introductionCkEditor) {
		this.introductionCkEditor = introductionCkEditor;
	}

	public String getSaleUnitType() {
		return saleUnitType;
	}

	public void setSaleUnitType(String saleUnitType) {
		this.saleUnitType = saleUnitType;
	}

	public Long getGoodInfoId() {
		return goodInfoId;
	}

	public void setGoodInfoId(Long goodInfoId) {
		this.goodInfoId = goodInfoId;
	}

	public List<KshopGoodsBo> getGoodsExcelList() {
		return goodsExcelList;
	}

	public void setGoodsExcelList(List<KshopGoodsBo> goodsExcelList) {
		this.goodsExcelList = goodsExcelList;
	}

	public String getOrgCode() {
		return orgCode;
	}

	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}
		
}